home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / strsplt < prev    next >
Text File  |  1994-04-25  |  422b  |  22 lines

  1. strsplt:
  2.  
  3. Syntax:    strsplt ( str )
  4.  
  5. Description:
  6.  
  7.     Strsplt returns a row matrix that contains a single character
  8.     string as each element. The resulting matrix has as many
  9.     columns as the input argument had characters.
  10.  
  11.     Example:
  12.  
  13.     > smat = strsplt( "string" )
  14.      smat =
  15.     s  t  r  i  n  g  
  16.     > show(smat)
  17.        name:      smat    
  18.        class:     matrix  
  19.        type:      string  
  20.          nr:      1       
  21.          nc:      6       
  22.